import Vue from 'vue'
import App from './App'
import pageHead from './components/page-head.vue'
import pageFoot from './components/page-foot.vue'
import uLink from '@/components/uLink.vue'
import store from './store'


import home from './pages/home/home'
import articlelist from './pages/xiaotan/articlelist.vue'
import join from './pages/join/join.vue'
import news from './pages/news/news.vue'
import my from './pages/my/my.vue'
import cuCustom from './components/cu-custom.vue'
Vue.component('articlelist',articlelist)
Vue.component('join',join)
Vue.component('news',news)
Vue.component('my',my)
Vue.component('home',home)
Vue.component('cu-custom',cuCustom)

Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$backgroundAudioData = {
	playing: false,
	playTime: 0,
	formatedPlayTime: '00:00:00'
}

Vue.component('page-head', pageHead)
Vue.component('page-foot', pageFoot)
Vue.component('uLink', uLink)

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})
app.$mount()
